﻿
namespace KingTools.CommonsHelper.Model
{
    /// <summary>
    /// ComboBox 绑定对象
    /// </summary>
    public class Item
    {

        public Item() { }
        /// <summary>
        /// 默认构造
        /// </summary>
        /// <param name="name">显示名称</param>
        /// <param name="value">绑定数值</param>
        public Item(string name, string value) {
            this.name = name;
            this.value = value;
        }

        /// <summary>
        /// 显示名称
        /// </summary>
        public string name { get; set; }
        
        /// <summary>
        /// 绑定数值
        /// </summary>
        public string value { get; set; }
    }
}
